home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Tools - Objects / MPW C++ / MPW C++ PQR4 / CPlus.help next >
Text File  |  1991-04-30  |  8KB  |  136 lines

  1. MPW C++ 3.2 Help Summary
  2.  
  3. Help information is available for each of the C++ commands.
  4.  
  5.     To see help information, type
  6.     
  7.     Help -f {MPW}CPlus.Help <command>, e.g. 
  8.     
  9.     Help -f {MPW}Cplus.Help CPlus
  10.     
  11.     Or simply paste this information into your MPW.Help file
  12.         
  13.     Copyright Apple Computer, Inc. 1990
  14.     All rights reserved.
  15.  
  16. -
  17. CFront [option…] [file…] < file > intermediate output ≥ progress
  18.     -a                        # force ANSI-style intermediate C code (default)
  19.     -a0                        # force K&R-style (pre-ANSI) intermediate C code
  20.     -a1                        # force ANSI-style intermediate C code (default)
  21.     -c                        # intermediate code to standard output; no object file
  22.     -d name                 # equivalent to: #define name 1
  23.     -d name=string          # equivalent to: #define name string
  24.     -dump filename            # save state of C++ compilation in filename
  25.     -dumpc filename            # save state of C++ compilation in filename (compressed)
  26.     -e                      # write preprocessor results to output
  27.     -e2                     # implies '-e' above, and strips comments
  28.     -elems881               # generate MC68881 code for transcendentals
  29.     -f filename                # act as if input comes from named file when it actually is from stdin 
  30.     -i directory            # search for includes in directory
  31.     -l                        # in C output generate #line nn directives as #nn
  32.     -l0                        # in C output generate no #line nn directives at all
  33.     -load filename            # load saved C++ compilation state from filename
  34.     -mark fcts|types|data    # create MPW markers for the specified items in file being compiler
  35.     -mark all                # create MPW markers for all of the above
  36.     -maxerrors <n>            # specify that CFront abort after reporting <n> errors (default 12)
  37.     -mbg ch8                # v2.0 compatible macsbug symbols
  38.     -mbg off                # no macsbug symbols in the code (link/unlk only if necessary)
  39.     -mbg on|full            # full macsbug symbols
  40.     -mbg <n>                # macsbug symbols to length <n> (<n> can be 0..255)
  41.     -mc68020                # generate MC68020 code 
  42.     -mc68881                # generate MC68881 code for arithmetic operations
  43.     -mf                        # use MultiFinder memory if there is not enough MPW memory
  44.     -model near|far            # use 32-bit addresses for global code and data (model far) or A5 references (model near) -- "near" is default
  45.     -mtbl0                    # suppress output of method tables for Object Pascal classes
  46.     -mtbl1                    # force output of method tables for Object Pascal classes
  47.     -p                      # write progress information to diagnostic
  48.     -s segment              # generate code in segment
  49.     -sym off                # no SADE records
  50.     -sym on|full            # full SADE records; can modify with [,nolines] [,notypes] [,novars]
  51.     -u name                 # equivalent to: #undef name
  52.     -vtbl0                    # suppress output of virtual tables for ordinary classes
  53.     -vtbl1                    # force output of virtual tables for ordinary classes
  54.     -w                      # suppress warnings
  55.     -w1                        # generate additional warnings from CFront
  56.     -w2                        # generate maximum warnings from CFront and the C compiler
  57.     -y directory            # create temporary files in directory
  58.     -z0                        # force 'inline' functions to be non-inline
  59.     -z3                        # suppress name encoding of local vars and struct members (default)
  60.     -z4                        # encode names of local vars and struct members
  61.     -z5                        # don't strip unused static objects that have constructors or destructors
  62.     -z6                        # force enums always to be int variables
  63.     -z7                        # relax requirement on static class member initialization
  64.     -z15                    # optimize nested inline constructor-allocator code
  65.     -z17                    # allow inline expansion of functions of any size
  66.     
  67.     Note: CFront does not generate object files.  To compile a C++ program, use the CPlus command.
  68.  
  69. -
  70. CPlus [option…] [file…] < file > intermediate output ≥ progress
  71.     -a                        # force ANSI-style intermediate C code (default)
  72.     -a0                        # force K&R-style (pre-ANSI) intermediate C code
  73.     -a1                        # force ANSI-style intermediate C code (default)
  74.     -b                        # passed thru to C compiler (put string constants into code and generate PC-relative references)
  75.     -b2                     # passed thru to C compiler (implies '-b' above, and allows string constants to be overlaid)
  76.     -b3                     # passed thru to C compiler (overlaid string constants in code--but not PC-relative refs.)
  77.     -c                        # intermediate code to standard output; no object file
  78.     -comp name options        # use a different C compiler in "name" and give it "options"
  79.     -d name                 # equivalent to: #define name 1
  80.     -d name=string          # equivalent to: #define name string
  81.     -dump filename            # save state of C++ compilation in filename
  82.     -dumpc filename            # save state of C++ compilation in filename (compressed)
  83.     -e                      # write preprocessor results to output
  84.     -e2                     # implies '-e' above, and strips comments
  85.     -elems881               # generate MC68881 code for transcendentals
  86.     -f filename                # act as if input comes from named file when it actually is from stdin 
  87.     -i directory            # search for includes in directory
  88.     -l                        # in C output generate #line nn directives as #nn
  89.     -l0                        # in C output generate no #line nn directives at all
  90.     -load filename            # load saved C++ compilation state from filename
  91.     -m                      # passed to C compiler: generate 32-bit references for data
  92.     -mark fcts|types|data    # create MPW markers for the specified items in file being compiled
  93.     -mark all                # create MPW markers for all of the above
  94.     -maxerrors <n>            # specify that CFront abort after reporting <n> errors (default 12)
  95.     -mbg ch8                # v2.0 compatible macsbug symbols
  96.     -mbg off                # no macsbug symbols in the code (link/unlk only if necessary)
  97.     -mbg on|full            # full macsbug symbols
  98.     -mbg <n>                # macsbug symbols to length <n> (<n> can be 0..255)
  99.     -mc68020                # generate MC68020 code 
  100.     -mc68881                # generate MC68881 code for arithmetic operations
  101.     -mf                        # use MultiFinder memory if there is not enough MPW memory
  102.     -model near|far            # use 32-bit addresses for global code and data (model far) or A5 references (model near) -- "near" is default
  103.     -mtbl0                    # suppress output of method tables for Object Pascal classes
  104.     -mtbl1                    # force output of method tables for Object Pascal classes
  105.     -o objname              # generate code in file or directory objname
  106.     -opt on|off                # passed to C compiler: turn optimization on (default) or off
  107.     -p                      # write progress information to diagnostic
  108.     -patch                    # use AT&T's "patch" mechanism for static constructors (use with -comp)
  109.     -s segment              # generate code in segment
  110.     -sym off                # no SADE records
  111.     -sym on|full            # full SADE records; can modify with [,nolines] [,notypes] [,novars]
  112.     -t                      # passed to C compiler: write compilation time to diagnostic
  113.     -trace on                # passed to C compiler: generate tracing code--calls to %_EP and %_BP
  114.     -trace off                # passed to C compiler: generate no tracing code (default)
  115.     -trace always            # passed to C compiler: always generate tracing code--calls to %_EP and %_BP
  116.     -trace never            # passed to C compiler: never generate tracing code (default)
  117.     -u name                 # equivalent to: #undef name
  118.     -vtbl0                    # suppress output of virtual tables for ordinary classes
  119.     -vtbl1                    # force output of virtual tables for ordinary classes
  120.     -w                      # suppress warnings
  121.     -w1                        # generate additional warnings from CFront
  122.     -w2                        # generate maximum warnings from CFront and the C compiler
  123.     -w3                        # passed through to C compiler (supresses "unused" warnings)
  124.     -x filename                # generate C code for a different processor, using size and alignment info in filename
  125.     -y directory            # create temporary files in directory
  126.     -z0                        # force 'inline' functions to be non-inline
  127.     -z3                        # suppress name encoding of local vars and struct members (default)
  128.     -z4                        # encode names of local vars and struct members
  129.     -z5                        # don't strip unused static objects that have constructors or destructors
  130.     -z6                        # force enums always to be int variables
  131.     -z7                        # relax requirement on static class member initialization
  132.     -z15                    # optimize nested inline constructor-allocator code
  133.     -z17                    # allow inline expansion of functions of any size
  134.  
  135. -
  136.